<?php 
class indexAction extends sfAction{
	private $data = null;
	public function execute($request){
		$this->redirect('/admin/'); 
		return;
		
		$this->data['news_top']		= NewsTable::getDataListFrontend(array('sort_order'=>'readmax'),1, 4);
		$this->data['news']			= NewsTable::getDataListFrontend(array('sort_order'=>'readmax','ids_notin' => ArrayHelper::getArrayIds($this->data['news_top'])),1, 12);
		
		
		$this->data['sys_page']['content_daily']	= SysPagesTable::getContent(SYSPAGE_KEYS::HOMEPAGE_INDEX_DAILY);
		
		$this->setVar('data', $this->data);
	}
}